package com.tc.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 用户登录响应VO
 * </p>
 *
 * @author tc
 * @since 2025-07-10
 */
@Data
@ApiModel(value = "LoginVO对象", description = "用户登录响应结果")
public class LoginVO {

    @ApiModelProperty(value = "访问令牌")
    private String accessToken;

    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;

    @ApiModelProperty(value = "令牌类型")
    private String tokenType = "Bearer";

    @ApiModelProperty(value = "过期时间(秒)")
    private Long expiresIn;

    @ApiModelProperty(value = "用户信息")
    private UserInfoVO userInfo;

    @ApiModelProperty(value = "菜单权限列表")
    private List<MenuVO> menus;
}
